import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.util.Scanner;

public class Demo13 {
    public static void main(String[] args) throws IOException {
        try(InputStream inputStream=new FileInputStream("/Users/lcl/untitled7/src/test.txt")){
            Scanner scanner=new Scanner(inputStream);
            String s= scanner.next();;
            System.out.println(s);
            String s1= scanner.next();;
            System.out.println(s1);
            String s2= scanner.next();;
            System.out.println(s2);
        }
    }
}
